<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .d1 {
            width: 350px;
            height: 450px;
            background: url(./images/bg.gif);
            border: 2px solid green;
            margin: 50px auto;
            padding: 18px;
        }

        b {
            border-left: 8px solid yellow;
            font-size: 26px;
            color: white;
        }

        .u1 {
            width: 310px;
            height: auto;
            background-color: white;
            list-style: none;
            margin: 10px auto; 
            padding: 1px;
        }

        .u1 li {
            height: 30px;
            background: url(./images/tb.gif) no-repeat center left;
            padding-left: 16px;
            margin:8px;
            border-bottom: 1px dashed gray;
            line-height: 30px;
        }
        a{
            display: inline-block;
            text-decoration: none;
        }
        
        a:hover {
            color: red;    
        }
    </style>
</head>

<body>
    <div class="d1">
        <b>&nbsp;&nbsp;爱宠知识</b>
        <ul class="u1">
            <li><a href="">养狗比养猫对健康更有利</a></li>
            <li><a href="">日本正宗柴犬亮相，你怎么看柴犬</a></li>
            <li><a href="">狗狗歌曲《新年旺旺》</a></li>
            <li><a href="">带宠兜风，开车带宠需要注意什么？</a></li>
            <li><a href="">【爆笑】这狗狗太不给力了</a></li>
            <li><a href="">狗狗与男童相同着装拍有爱造型照</a></li>
            <li><a href="">狗狗各个阶段健康大事件</a></li>
            <li><a href="">调皮宠物狗陷在沙发里的搞笑瞬间</a></li>
            <li><a href="">为什么每次大小便后，会用脚踢土？</a></li>
        </ul>
    </div>
</body>

</html>